home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 7.1 KB | 222 lines | [TEXT/MPS ] |
- /*
- File: SocketServices.idl
-
- Contains: This file contains constants and data structures that
-
- Version: Technology: System 7.5
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __SOCKETSERVICES_IDL__
- #define __SOCKETSERVICES_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __TYPES_IDL__
- #include <Types.idl>
- #endif
- #ifndef __MIXEDMODE_IDL__
- #include <MixedMode.idl>
- #endif
-
- #ifdef __SOMIDL__
-
- #if FOR_SYSTEM7_ONLY
- /*
- ///////////////////////////////////////////////////////////////////////////////////////
- TypeDefs for the Socket Services function codes
- */
- typedef Byte SS_BYTE;
-
- typedef Byte SS_FLAGS8;
-
- typedef Byte SS_IRQ;
-
- typedef Byte SS_PWRLEVEL;
-
- typedef UInt16 SS_ADAPTER;
-
- typedef UInt16 SS_BCD;
-
- typedef UInt16 SS_COUNT;
-
- typedef UInt16 SS_EDC;
-
- typedef UInt16 SS_FLAGS16;
-
- typedef UInt16 SS_PAGE;
-
- typedef UInt16 SS_PWRINDEX;
-
- typedef UInt16 SS_SIGNATURE;
-
- typedef UInt16 SS_SKTBITS;
-
- typedef UInt16 SS_SOCKET;
-
- typedef UInt16 SS_SPEED;
-
- typedef UInt16 SS_WINDOW;
-
- typedef UInt16 SS_WORD;
-
- typedef UInt32 SS_BASE;
-
- typedef UInt32 SS_FLAGS32;
-
- typedef UInt32 SS_OFFSET;
-
- typedef UInt32 SS_SIZE;
-
- typedef Ptr SS_PTR;
-
- typedef OSErr SS_RETCODE;
-
- typedef SOMLargeStruct SS_SCHARTBL; /* Derived from a struct of 10 bytes in size */
-
- typedef SOMLargeStruct SS_SISTRUCT; /* Derived from a struct of 14 bytes in size */
-
- /* minimum string length*/
- typedef SOMLargeStruct SS_VISTRUCT; /* Derived from a struct of 6 bytes in size */
-
- typedef SOMLargeStruct SS_ACHARTBL; /* Derived from a struct of 10 bytes in size */
-
- typedef SOMTwoByteStruct SS_PWRENTRY; /* Derived from a struct of 2 bytes in size */
-
- typedef SOMLargeStruct SS_AISTRUCT; /* Derived from a struct of 20 bytes in size */
-
- typedef SOMLargeStruct SS_MEMWINTBL; /* Derived from a struct of 34 bytes in size */
-
- typedef SOMLargeStruct SS_IOWINTBL; /* Derived from a struct of 26 bytes in size */
-
- typedef SOMLargeStruct SS_WISTRUCT; /* Derived from a struct of 66 bytes in size */
-
- /*
- ————————————————————————————————————————————————————————————————————————
- function selectors passed to Socket Service entry point
- ————————————————————————————————————————————————————————————————————————
- */
- /* SSVendorSpecificPB.function values*/
- /*
- ————————————————————————————————————————————————————————————————————————
- defines for the Socket Services function codes
- ————————————————————————————————————————————————————————————————————————
- */
- /* Vendor Specific Apple Socket Capabilities */
- /*
- ————————————————————————————————————————————————————————————————————————
- Universal ProcPtr for Socket Service entry point
- ————————————————————————————————————————————————————————————————————————
- */
- typedef OpaquePtr PCCardSSEntryProcPtr;
- typedef OpaquePtr PCCardSSEntryUPP;
- /*
- ————————————————————————————————————————————————————————————————————————
- Card Services calls used by a Socket Service
- ————————————————————————————————————————————————————————————————————————
- */
- typedef SOMLargeStruct CSEventEntryPB; /* Derived from a struct of 12 bytes in size */
-
- typedef OpaquePtr PCCardCSEntryProcPtr;
- typedef OpaquePtr PCCardCSEntryUPP;
- /*------------ AddSocketServices ------------ */
- typedef SOMLargeStruct AddSocketServicesPB; /* Derived from a struct of 20 bytes in size */
-
- /*------------ ReplaceSocketServices ------------ */
- typedef SOMLargeStruct ReplaceSocketServicesPB; /* Derived from a struct of 18 bytes in size */
-
- /*
- ————————————————————————————————————————————————————————————————————————
- parameter blocks for each Socket Service function
- ————————————————————————————————————————————————————————————————————————
- */
- typedef SOMFourByteStruct SSAcknowledgeInterruptPB; /* Derived from a struct of 4 bytes in size */
-
- typedef SOMLargeStruct SSGetAccessOffsetsPB; /* Derived from a struct of 12 bytes in size */
-
- typedef SOMFourByteStruct SSGetAdapterCountPB; /* Derived from a struct of 4 bytes in size */
-
- typedef SOMFourByteStruct SSGetSetAdapterPB; /* Derived from a struct of 4 bytes in size */
-
- typedef SOMLargeStruct SSGetSetEDCPB; /* Derived from a struct of 8 bytes in size */
-
- typedef SOMLargeStruct SSGetSetPagePB; /* Derived from a struct of 12 bytes in size */
-
- typedef SOMLargeStruct SSGetSetPriorHandlerPB; /* Derived from a struct of 8 bytes in size */
-
- typedef SOMLargeStruct SSGetSetSocketPB; /* Derived from a struct of 16 bytes in size */
-
- typedef SOMLargeStruct SSGetSetSSAddrPB; /* Derived from a struct of 10 bytes in size */
-
- typedef SOMLargeStruct SSGetSetWindowPB; /* Derived from a struct of 18 bytes in size */
-
- typedef SOMLargeStruct SSGetSSInfoPB; /* Derived from a struct of 8 bytes in size */
-
- typedef SOMLargeStruct SSGetStatusPB; /* Derived from a struct of 10 bytes in size */
-
- typedef SOMLargeStruct SSGetVendorInfoPB; /* Derived from a struct of 10 bytes in size */
-
- typedef SOMLargeStruct SSInquireAdapterPB; /* Derived from a struct of 12 bytes in size */
-
- typedef SOMLargeStruct SSInquireEDCPB; /* Derived from a struct of 8 bytes in size */
-
- typedef SOMLargeStruct SSInquireSocketPB; /* Derived from a struct of 12 bytes in size */
-
- typedef SOMLargeStruct SSInquireWindowPB; /* Derived from a struct of 12 bytes in size */
-
- typedef SOMFourByteStruct SSPauseEDCPB; /* Derived from a struct of 4 bytes in size */
-
- typedef SOMLargeStruct SSReadEDCPB; /* Derived from a struct of 6 bytes in size */
-
- typedef SOMFourByteStruct SSResetSocketPB; /* Derived from a struct of 4 bytes in size */
-
- typedef SOMFourByteStruct SSResumeEDCPB; /* Derived from a struct of 4 bytes in size */
-
- typedef SOMFourByteStruct SSStartEDCPB; /* Derived from a struct of 4 bytes in size */
-
- typedef SOMFourByteStruct SSStopEDCPB; /* Derived from a struct of 4 bytes in size */
-
- typedef SOMLargeStruct SSVendorSpecificPB; /* Derived from a struct of 16 bytes in size */
-
- /* ‘attributes’ constants */
- /*
- ————————————————————————————————————————————————————————————————————————
- Non-specific Socket Services Functions
- ————————————————————————————————————————————————————————————————————————
- */
- /*
- ————————————————————————————————————————————————————————————————————————
- Adapter Functions
- ————————————————————————————————————————————————————————————————————————
- */
- /*
- ————————————————————————————————————————————————————————————————————————
- Socket Functions
- ————————————————————————————————————————————————————————————————————————
- */
- /*
- ————————————————————————————————————————————————————————————————————————
- Window Functions
- ————————————————————————————————————————————————————————————————————————
- */
- /*
- ————————————————————————————————————————————————————————————————————————
- Error Detection Functions
- ————————————————————————————————————————————————————————————————————————
- */
- #endif
-
- #endif /* __SOMIDL__ */
-
- #endif /* __SOCKETSERVICES_IDL__ */
-
-